package domain;

import java.io.Serializable;

public class Bill implements Serializable {
	
	String user;
	long auctionID;
	double price;
	double fixedFee;
	double totalVariableFee;
	double totalFee;
	
	public Bill(String user, long auctionID, double price, double fixedFee, double totalVariableFee, double totalFee){
		this.user = user;
		this.auctionID = auctionID;
		this.price = price;
		this.fixedFee = fixedFee;
		this.totalVariableFee = totalVariableFee;
		this.totalFee = totalFee;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "auctionID=" + auctionID + ", price=" + price
				+ ", fixedFee=" + fixedFee + ", totalVariableFee="
				+ totalVariableFee + ", totalFee=" + totalFee;
	}

	/**
	 * @return the fixedFee
	 */
	public double getFixedFee() {
		return fixedFee;
	}

	/**
	 * @param fixedFee the fixedFee to set
	 */
	public void setFixedFee(double fixedFee) {
		this.fixedFee = fixedFee;
	}

	/**
	 * @return the totalVariableFee
	 */
	public double getTotalVariableFee() {
		return totalVariableFee;
	}

	/**
	 * @param totalVariableFee the totalVariableFee to set
	 */
	public void setTotalVariableFee(double totalVariableFee) {
		this.totalVariableFee = totalVariableFee;
	}

	/**
	 * @return the totalFee
	 */
	public double getTotalFee() {
		return totalFee;
	}

	/**
	 * @param totalFee the totalFee to set
	 */
	public void setTotalFee(double totalFee) {
		this.totalFee = totalFee;
	}

	/**
	 * @return the user
	 */
	public String getUser() {
		return user;
	}

	/**
	 * @param user the user to set
	 */
	public void setUser(String user) {
		this.user = user;
	}

	/**
	 * @return the auctionID
	 */
	public long getAuctionID() {
		return auctionID;
	}

	/**
	 * @param auctionID the auctionID to set
	 */
	public void setAuctionID(long auctionID) {
		this.auctionID = auctionID;
	}

	/**
	 * @return the price
	 */
	public double getPrice() {
		return price;
	}

	/**
	 * @param price the price to set
	 */
	public void setPrice(double price) {
		this.price = price;
	}

}
